package com.arvato.minipro.bean.bean_do.mall;

import java.util.Date;

import com.arvato.common.util.UUIDUtil;

/**
 * @author: smallking
 * 
 * @Descibe:数据库商品表对应的java实体类
 * 
 * @Date: 2018年4月24日  下午2:54:39
 */
public class EcCommodityDo {
	/**
	 * 主键ID
	 */
    private String commodityId = UUIDUtil.getUUID("goods");
    /**
     * 商品所属商户的userId
     */
    private String userId;
    /**
     * 商品展示图大图的文件名称
     */
    private String commodityBigImg;
    /**
     * 商品名称
     */
    private String commodityName;
    /**
     * 商品详情图片
     */
    private String detailImgPath;
    /**
     * 商品价格
     */
    private Float price;
    /**
     * 商品描述
     */
    private String commodityNote;
    /**
     * 商品二维码数字
     */
    private String commodityCode;
    /**
     * 商品规格
     */
    private String unit;
    /**
     * 商品库存数量
     */
    private Integer count;
    /**
     * 是否推荐
     */
    private Integer recommend;
    /**
     * 是否热卖
     */
    private Integer hot;
    /**
     * 是否出售
     */
    private Integer sale;
    /**
     * 商品的状态 1：正常； 
     * 			  2；下架等
     */
    private Integer status;
    /**
     * 商品的排序码
     */
    private Integer sortCode;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;
    
	public String getCommodityId() {
		return commodityId;
	}
	public void setCommodityId(String commodityId) {
		this.commodityId = commodityId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getCommodityBigImg() {
		return commodityBigImg;
	}
	public void setCommodityBigImg(String commodityBigImg) {
		this.commodityBigImg = commodityBigImg;
	}
	public String getCommodityName() {
		return commodityName;
	}
	public void setCommodityName(String commodityName) {
		this.commodityName = commodityName;
	}
	public String getDetailImgPath() {
		return detailImgPath;
	}
	public void setDetailImgPath(String detailImgPath) {
		this.detailImgPath = detailImgPath;
	}
	public Float getPrice() {
		return price;
	}
	public void setPrice(Float price) {
		this.price = price;
	}
	public String getCommodityNote() {
		return commodityNote;
	}
	public void setCommodityNote(String commodityNote) {
		this.commodityNote = commodityNote;
	}
	public String getCommodityCode() {
		return commodityCode;
	}
	public void setCommodityCode(String commodityCode) {
		this.commodityCode = commodityCode;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public Integer getRecommend() {
		return recommend;
	}
	public void setRecommend(Integer recommend) {
		this.recommend = recommend;
	}
	public Integer getHot() {
		return hot;
	}
	public void setHot(Integer hot) {
		this.hot = hot;
	}
	public Integer getSale() {
		return sale;
	}
	public void setSale(Integer sale) {
		this.sale = sale;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getSortCode() {
		return sortCode;
	}
	public void setSortCode(Integer sortCode) {
		this.sortCode = sortCode;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}